package com.lmxdawn.api.admin.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.lmxdawn.api.dnf.dto.SaleReq;
import com.lmxdawn.api.admin.entity.GoldCoin;

import java.math.BigDecimal;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author huangyubin
 * @since 2024-07-04
 */
public interface IGoldCoinService extends IService<GoldCoin> {

    void resumeStockNum(Long productId, BigDecimal quantityOrder);

    void deductStockNum(Long productId, BigDecimal quantity);

    String doSale(SaleReq content, String id);
}
